package com.jzg.jcptadmin.data.vo;

import android.os.Parcel;
import android.os.Parcelable;

import com.jzg.template.refreshrecycleview.RefreshEntity;

/**
 * Created by wangyd on 16/1/7.
 */
public class History extends RefreshEntity implements Parcelable {
//    "ID": "100",
//            "StyleFullName": "北汽绅宝绅宝D60 2014款 1.8T 手动 精英型",
//            "StyleId": "112418",
//            "C2BPrice": "7.04",
//            "Mileage": "5公里",
//            "ProvId": "5",
//            "CityId": "503",
//            "cityName": "珠海",
//            "RegisterDate": "2014年01月",
//            "Price": "13.98",
//            "history": "1",
//            "imgUrl": "http://img1.bitautoimg.com/autoalbum/files/20141016/072/14541207299886_3666508_3.jpg"
    private String ID;
    private String StyleFullName;
    private String StyleId;
    private String C2BPrice;
    private String Mileage;
    private String ProvId;
    private String CityId;
    private String cityName;
    private String RegisterDate;
    private String Price;
    private String history;
    private String imgUrl;

    public String getC2BPrice() {
        return C2BPrice;
    }

    public void setC2BPrice(String c2BPrice) {
        C2BPrice = c2BPrice;
    }

    public String getCityId() {
        return CityId;
    }

    public void setCityId(String cityId) {
        CityId = cityId;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getHistory() {
        return history;
    }

    public void setHistory(String history) {
        this.history = history;
    }

    public String getID() {
        return ID;
    }

    public void setID(String ID) {
        this.ID = ID;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getMileage() {
        return Mileage;
    }

    public void setMileage(String mileage) {
        Mileage = mileage;
    }

    public String getPrice() {
        return Price;
    }

    public void setPrice(String price) {
        Price = price;
    }

    public String getProvId() {
        return ProvId;
    }

    public void setProvId(String provId) {
        ProvId = provId;
    }

    public String getRegisterDate() {
        return RegisterDate;
    }

    public void setRegisterDate(String registerDate) {
        RegisterDate = registerDate;
    }

    public String getStyleFullName() {
        return StyleFullName;
    }

    public void setStyleFullName(String styleFullName) {
        StyleFullName = styleFullName;
    }

    public String getStyleId() {
        return StyleId;
    }

    public void setStyleId(String styleId) {
        StyleId = styleId;
    }

    @Override
    public String toString() {
        return "History{" +
                "C2BPrice='" + C2BPrice + '\'' +
                ", ID='" + ID + '\'' +
                ", StyleFullName='" + StyleFullName + '\'' +
                ", StyleId='" + StyleId + '\'' +
                ", Mileage='" + Mileage + '\'' +
                ", ProvId='" + ProvId + '\'' +
                ", CityId='" + CityId + '\'' +
                ", cityName='" + cityName + '\'' +
                ", RegisterDate='" + RegisterDate + '\'' +
                ", Price='" + Price + '\'' +
                ", history='" + history + '\'' +
                ", imgUrl='" + imgUrl + '\'' +
                '}';
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.ID);
        dest.writeString(this.StyleFullName);
        dest.writeString(this.StyleId);
        dest.writeString(this.C2BPrice);
        dest.writeString(this.Mileage);
        dest.writeString(this.ProvId);
        dest.writeString(this.CityId);
        dest.writeString(this.cityName);
        dest.writeString(this.RegisterDate);
        dest.writeString(this.Price);
        dest.writeString(this.history);
        dest.writeString(this.imgUrl);
    }

    public History() {
    }

    protected History(Parcel in) {
        this.ID = in.readString();
        this.StyleFullName = in.readString();
        this.StyleId = in.readString();
        this.C2BPrice = in.readString();
        this.Mileage = in.readString();
        this.ProvId = in.readString();
        this.CityId = in.readString();
        this.cityName = in.readString();
        this.RegisterDate = in.readString();
        this.Price = in.readString();
        this.history = in.readString();
        this.imgUrl = in.readString();
    }

    public static final Parcelable.Creator<History> CREATOR = new Parcelable.Creator<History>() {
        public History createFromParcel(Parcel source) {
            return new History(source);
        }

        public History[] newArray(int size) {
            return new History[size];
        }
    };
}
